[IA64] make xenLinux/ia64 privcmd mmap not to use dom0 memory
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 23 May 2006 21:09:21 +0000 (15:09 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 23 May 2006 21:09:21 +0000 (15:09 -0600)
commitd4a9e3daf97ee5fe4d4e85ec8703f100f52b9a9e
tree4a3a5e59a70df05c31feb1f50c8c7f52509e77f4
parentc7c052954b2519e3837b4d2a35a2d995f2aeecfd
[IA64] make xenLinux/ia64 privcmd mmap not to use dom0 memory

xenLinux/ia64 privcmd mmap uses pseudo physical address space.
it used alloc_pages() to allocate the space.
It wastes dom0 memory and sometimes several hundreds megabytes is
allocated depending on domU memory size.
With this patch xenLinux/ia64 trys to find the region which can be
used safely and uses the reasion.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c